import { session } from "@/utils/utils";

export default [
    {
        path: "pay",
        name: "AdminPay",
        component: () => import("@/views/zhifu/zhifu.vue"),
        meta: { authLogin: true },
    },

    {
        path: "admins",
        name: "AdminadminsList",
        component: () => import("@/views/admins/list.vue"),
        meta: { title: "管理员列表", authLogin: true },
    },

    {
        path: "admins/add",
        name: "AdminadminsAdd",
        component: () => import("@/views/admins/add.vue"),
        meta: { title: "添加管理员", authLogin: true },
    },
    {
        path: "admins/updt",
        name: "AdminadminsUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/admins/updt.vue"),
        meta: { title: "编辑管理员", authLogin: true },
    },
    {
        path: "admins/updtself",
        name: "AdminadminsUpdtSelf",
        props: (route) => ({ id: session("id") }),
        component: () => import("@/views/admins/updtself.vue"),
        meta: { title: "更新个人资料", authLogin: true },
    },
    {
        path: "youqinglianjie",
        name: "AdminyouqinglianjieList",
        component: () => import("@/views/youqinglianjie/list.vue"),
        meta: { title: "友情链接列表", authLogin: true },
    },

    {
        path: "youqinglianjie/add",
        name: "AdminyouqinglianjieAdd",
        component: () => import("@/views/youqinglianjie/add.vue"),
        meta: { title: "添加友情链接", authLogin: true },
    },
    {
        path: "youqinglianjie/updt",
        name: "AdminyouqinglianjieUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/youqinglianjie/updt.vue"),
        meta: { title: "编辑友情链接", authLogin: true },
    },
    {
        path: "liuyanban",
        name: "AdminliuyanbanList",
        component: () => import("@/views/liuyanban/list.vue"),
        meta: { title: "留言板列表", authLogin: true },
    },

    {
        path: "liuyanban/liuyanren",
        name: "AdminliuyanbanListliuyanren",
        component: () => import("@/views/liuyanban/liuyanren.vue"),
        meta: { title: "留言板列表", authLogin: true },
    },

    {
        path: "liuyanban/add",
        name: "AdminliuyanbanAdd",
        component: () => import("@/views/liuyanban/add.vue"),
        meta: { title: "添加留言板", authLogin: true },
    },
    {
        path: "liuyanban/updt",
        name: "AdminliuyanbanUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/liuyanban/updt.vue"),
        meta: { title: "编辑留言板", authLogin: true },
    },
    {
        path: "lunbotu",
        name: "AdminlunbotuList",
        component: () => import("@/views/lunbotu/list.vue"),
        meta: { title: "轮播图列表", authLogin: true },
    },

    {
        path: "lunbotu/add",
        name: "AdminlunbotuAdd",
        component: () => import("@/views/lunbotu/add.vue"),
        meta: { title: "添加轮播图", authLogin: true },
    },
    {
        path: "lunbotu/updt",
        name: "AdminlunbotuUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/lunbotu/updt.vue"),
        meta: { title: "编辑轮播图", authLogin: true },
    },
    {
        path: "shoucang",
        name: "AdminshoucangList",
        component: () => import("@/views/shoucang/list.vue"),
        meta: { title: "收藏列表", authLogin: true },
    },

    {
        path: "shoucang/username",
        name: "AdminshoucangListusername",
        component: () => import("@/views/shoucang/username.vue"),
        meta: { title: "收藏列表", authLogin: true },
    },

    {
        path: "dianyingfenlei",
        name: "AdmindianyingfenleiList",
        component: () => import("@/views/dianyingfenlei/list.vue"),
        meta: { title: "电影分类列表", authLogin: true },
    },

    {
        path: "dianyingfenlei/add",
        name: "AdmindianyingfenleiAdd",
        component: () => import("@/views/dianyingfenlei/add.vue"),
        meta: { title: "添加电影分类", authLogin: true },
    },
    {
        path: "dianyingfenlei/updt",
        name: "AdmindianyingfenleiUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/dianyingfenlei/updt.vue"),
        meta: { title: "编辑电影分类", authLogin: true },
    },
    {
        path: "dianyingxinxi",
        name: "AdmindianyingxinxiList",
        component: () => import("@/views/dianyingxinxi/list.vue"),
        meta: { title: "电影信息列表", authLogin: true },
    },

    {
        path: "dianyingxinxi/tianjiaren",
        name: "AdmindianyingxinxiListtianjiaren",
        component: () => import("@/views/dianyingxinxi/tianjiaren.vue"),
        meta: { title: "电影信息列表", authLogin: true },
    },

    {
        path: "dianyingxinxi/add",
        name: "AdmindianyingxinxiAdd",
        component: () => import("@/views/dianyingxinxi/add.vue"),
        meta: { title: "添加电影信息", authLogin: true },
    },
    {
        path: "dianyingxinxi/updt",
        name: "AdmindianyingxinxiUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/dianyingxinxi/updt.vue"),
        meta: { title: "编辑电影信息", authLogin: true },
    },
    {
        path: "dianyingxinxi/detail",
        props: (route) => ({ id: route.query.id }),
        name: "AdmindianyingxinxiDetail",
        component: () => import("@/views/dianyingxinxi/detail.vue"),
        meta: { title: "电影信息详情", authLogin: true },
    },
    {
        path: "bofangting",
        name: "AdminbofangtingList",
        component: () => import("@/views/bofangting/list.vue"),
        meta: { title: "播放厅列表", authLogin: true },
    },

    {
        path: "bofangting/tianjiaren",
        name: "AdminbofangtingListtianjiaren",
        component: () => import("@/views/bofangting/tianjiaren.vue"),
        meta: { title: "播放厅列表", authLogin: true },
    },

    {
        path: "bofangting/add",
        name: "AdminbofangtingAdd",
        component: () => import("@/views/bofangting/add.vue"),
        meta: { title: "添加播放厅", authLogin: true },
    },
    {
        path: "bofangting/updt",
        name: "AdminbofangtingUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/bofangting/updt.vue"),
        meta: { title: "编辑播放厅", authLogin: true },
    },
    {
        path: "bofangting/detail",
        props: (route) => ({ id: route.query.id }),
        name: "AdminbofangtingDetail",
        component: () => import("@/views/bofangting/detail.vue"),
        meta: { title: "播放厅详情", authLogin: true },
    },
    {
        path: "yingyuanxinxi",
        name: "AdminyingyuanxinxiList",
        component: () => import("@/views/yingyuanxinxi/list.vue"),
        meta: { title: "影院信息列表", authLogin: true },
    },

    {
        path: "yingyuanxinxi/tianjiaren",
        name: "AdminyingyuanxinxiListtianjiaren",
        component: () => import("@/views/yingyuanxinxi/tianjiaren.vue"),
        meta: { title: "影院信息列表", authLogin: true },
    },

    {
        path: "yingyuanxinxi/add",
        name: "AdminyingyuanxinxiAdd",
        component: () => import("@/views/yingyuanxinxi/add.vue"),
        meta: { title: "添加影院信息", authLogin: true },
    },
    {
        path: "yingyuanxinxi/updt",
        name: "AdminyingyuanxinxiUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/yingyuanxinxi/updt.vue"),
        meta: { title: "编辑影院信息", authLogin: true },
    },
    {
        path: "yingyuanxinxi/detail",
        props: (route) => ({ id: route.query.id }),
        name: "AdminyingyuanxinxiDetail",
        component: () => import("@/views/yingyuanxinxi/detail.vue"),
        meta: { title: "影院信息详情", authLogin: true },
    },
    {
        path: "paipian",
        name: "AdminpaipianList",
        component: () => import("@/views/paipian/list.vue"),
        meta: { title: "排片列表", authLogin: true },
    },

    {
        path: "paipian/paipianren",
        name: "AdminpaipianListpaipianren",
        component: () => import("@/views/paipian/paipianren.vue"),
        meta: { title: "排片列表", authLogin: true },
    },

    {
        path: "paipian/add",
        name: "AdminpaipianAdd",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/paipian/add.vue"),
        meta: { title: "添加排片", authLogin: true },
    },
    {
        path: "paipian/updt",
        name: "AdminpaipianUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/paipian/updt.vue"),
        meta: { title: "编辑排片", authLogin: true },
    },
    {
        path: "paipian/detail",
        props: (route) => ({ id: route.query.id }),
        name: "AdminpaipianDetail",
        component: () => import("@/views/paipian/detail.vue"),
        meta: { title: "排片详情", authLogin: true },
    },
    {
        path: "goupiao",
        name: "AdmingoupiaoList",
        component: () => import("@/views/goupiao/list.vue"),
        meta: { title: "购票列表", authLogin: true },
    },

    {
        path: "goupiao/goumairen",
        name: "AdmingoupiaoListgoumairen",
        component: () => import("@/views/goupiao/goumairen.vue"),
        meta: { title: "购票列表", authLogin: true },
    },

    {
        path: "goupiao/add",
        name: "AdmingoupiaoAdd",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/goupiao/add.vue"),
        meta: { title: "添加购票", authLogin: true },
    },
    {
        path: "goupiao/updt",
        name: "AdmingoupiaoUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/goupiao/updt.vue"),
        meta: { title: "编辑购票", authLogin: true },
    },
    {
        path: "goupiao/detail",
        props: (route) => ({ id: route.query.id }),
        name: "AdmingoupiaoDetail",
        component: () => import("@/views/goupiao/detail.vue"),
        meta: { title: "购票详情", authLogin: true },
    },
    {
        path: "tuipiao",
        name: "AdmintuipiaoList",
        component: () => import("@/views/tuipiao/list.vue"),
        meta: { title: "退票列表", authLogin: true },
    },

    {
        path: "tuipiao/goumairen",
        name: "AdmintuipiaoListgoumairen",
        component: () => import("@/views/tuipiao/goumairen.vue"),
        meta: { title: "退票列表", authLogin: true },
    },

    {
        path: "tuipiao/add",
        name: "AdmintuipiaoAdd",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/tuipiao/add.vue"),
        meta: { title: "添加退票", authLogin: true },
    },
    {
        path: "tuipiao/updt",
        name: "AdmintuipiaoUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/tuipiao/updt.vue"),
        meta: { title: "编辑退票", authLogin: true },
    },
    {
        path: "tuipiao/detail",
        props: (route) => ({ id: route.query.id }),
        name: "AdmintuipiaoDetail",
        component: () => import("@/views/tuipiao/detail.vue"),
        meta: { title: "退票详情", authLogin: true },
    },
    {
        path: "yonghu",
        name: "AdminyonghuList",
        component: () => import("@/views/yonghu/list.vue"),
        meta: { title: "用户列表", authLogin: true },
    },

    {
        path: "yonghu/add",
        name: "AdminyonghuAdd",
        component: () => import("@/views/yonghu/add.vue"),
        meta: { title: "添加用户", authLogin: true },
    },
    {
        path: "yonghu/updt",
        name: "AdminyonghuUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/yonghu/updt.vue"),
        meta: { title: "编辑用户", authLogin: true },
    },
    {
        path: "yonghu/updtself",
        name: "AdminyonghuUpdtSelf",
        props: (route) => ({ id: session("id") }),
        component: () => import("@/views/yonghu/updtself.vue"),
        meta: { title: "更新个人资料", authLogin: true },
    },
    {
        path: "yonghu/detail",
        props: (route) => ({ id: route.query.id }),
        name: "AdminyonghuDetail",
        component: () => import("@/views/yonghu/detail.vue"),
        meta: { title: "用户详情", authLogin: true },
    },
    {
        path: "dianyingpingjia",
        name: "AdmindianyingpingjiaList",
        component: () => import("@/views/dianyingpingjia/list.vue"),
        meta: { title: "电影评价列表", authLogin: true },
    },

    {
        path: "dianyingpingjia/pingjiaren",
        name: "AdmindianyingpingjiaListpingjiaren",
        component: () => import("@/views/dianyingpingjia/pingjiaren.vue"),
        meta: { title: "电影评价列表", authLogin: true },
    },

    {
        path: "dianyingpingjia/add",
        name: "AdmindianyingpingjiaAdd",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/dianyingpingjia/add.vue"),
        meta: { title: "添加电影评价", authLogin: true },
    },
    {
        path: "dianyingpingjia/updt",
        name: "AdmindianyingpingjiaUpdt",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/dianyingpingjia/updt.vue"),
        meta: { title: "编辑电影评价", authLogin: true },
    },
    {
        path: "dianyingpingjia/detail",
        props: (route) => ({ id: route.query.id }),
        name: "AdmindianyingpingjiaDetail",
        component: () => import("@/views/dianyingpingjia/detail.vue"),
        meta: { title: "电影评价详情", authLogin: true },
    },

    {
        path: "tongji1",
        name: "Pagetongji1",
        component: () => import("@/views/tongji1.vue"),
        meta: { title: "tongji1", authLogin: true },
    },
    {
        path: "tongji2",
        name: "Pagetongji2",
        component: () => import("@/views/tongji2.vue"),
        meta: { title: "tongji2", authLogin: true },
    },
];
